force

public TouchPoint.Builder force(float force)

Sets the applied force of the touch point.

Return

this builder

Parameters

force

the value of the applied force, in range [0, 1], where 0 - no pressure, 1 - some maximum pressure.